
local recipes = {
    {"default:ice", tf_recipes.glass.." 4",tf_recipes.glasswater.." 4",3},
    {"default:snowblock", tf_recipes.glass.." 4",tf_recipes.glasswater.." 4",1},
    {"moreblocks:micro_ice 2", tf_recipes.glass,tf_recipes.glasswater,1},
}

-- register recipes
for _, data in pairs(recipes) do
    local alloy_time = data[4] or 1
    local b_registered = true
    for i=1,3 do
        if data[i] then
            local item_name = string.split(data[i],' ')[1]
            b_registered = b_registered and (minetest.registered_items[item_name] ~= nil)
        else
            b_registered = false
        end
    end
    if b_registered then
    	technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3], time = alloy_time})
    end
end
